﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Zbk_VoteSys.Models
{
    public class RegisterRequest
    {
        [Required(ErrorMessage = "请输入邮箱")]
        public string Email { get; set; }

        [Required(ErrorMessage = "请输入密码")]
        public string Password { get; set; }

        [Required(ErrorMessage = "请再次输入密码")]
        public string CirPassword { get; set; }
    }
}
